package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TypePredicatePart2 implements WhenOperand {

    private int beginIndex;
    private int endIndex;
    private boolean not;
    private TypeList typeList;

    public TypePredicatePart2(int beginIndex, int endIndex, boolean not, TypeList typeList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.not = not;
        this.typeList = typeList;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isNot() {
        return not;
    }

    public TypeList getTypeList() {
        return typeList;
    }

}
